<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPH::IsotropicDiffusion Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_s_p_h.html">SPH</a></li><li class="navelem"><a class="el" href="class_s_p_h_1_1_isotropic_diffusion.html">IsotropicDiffusion</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="class_s_p_h_1_1_isotropic_diffusion-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">SPH::IsotropicDiffusion Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>isotropic diffusion property.  
 <a href="class_s_p_h_1_1_isotropic_diffusion.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="diffusion__reaction_8h_source.html">diffusion_reaction.h</a>&gt;</code></p>

<p>Inherits <a class="el" href="class_s_p_h_1_1_base_diffusion.html">SPH::BaseDiffusion</a>.</p>

<p>Inherited by <a class="el" href="class_s_p_h_1_1_directional_diffusion.html">SPH::DirectionalDiffusion</a>.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a747fa5685c40065bf66e758301ffe5de"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_isotropic_diffusion.html#a747fa5685c40065bf66e758301ffe5de">IsotropicDiffusion</a> (<a class="el" href="classsize__t.html">size_t</a> diffusion_species_index, <a class="el" href="classsize__t.html">size_t</a> gradient_species_index, Real diff_cf=1.0)</td></tr>
<tr class="separator:a747fa5685c40065bf66e758301ffe5de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8778717ace62181005a763fed4ce3f8c"><td class="memItemLeft" align="right" valign="top">virtual Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_isotropic_diffusion.html#a8778717ace62181005a763fed4ce3f8c">getReferenceDiffusivity</a> () override</td></tr>
<tr class="separator:a8778717ace62181005a763fed4ce3f8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac18dd1f017b84629c0f283f91aeaa3d"><td class="memItemLeft" align="right" valign="top">virtual Real&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_isotropic_diffusion.html#aac18dd1f017b84629c0f283f91aeaa3d">getInterParticleDiffusionCoff</a> (<a class="el" href="classsize__t.html">size_t</a> particle_i, <a class="el" href="classsize__t.html">size_t</a> particle_j, Vecd &amp;direction_from_j_to_i) override</td></tr>
<tr class="separator:aac18dd1f017b84629c0f283f91aeaa3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_s_p_h_1_1_base_diffusion"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_s_p_h_1_1_base_diffusion')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_s_p_h_1_1_base_diffusion.html">SPH::BaseDiffusion</a></td></tr>
<tr class="memitem:ad28fcfc65a19319a7ee1480e4e5ba9a6 inherit pub_methods_class_s_p_h_1_1_base_diffusion"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_diffusion.html#ad28fcfc65a19319a7ee1480e4e5ba9a6">BaseDiffusion</a> (<a class="el" href="classsize__t.html">size_t</a> diffusion_species_index, <a class="el" href="classsize__t.html">size_t</a> gradient_species_index)</td></tr>
<tr class="separator:ad28fcfc65a19319a7ee1480e4e5ba9a6 inherit pub_methods_class_s_p_h_1_1_base_diffusion"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0641c7cb654e35b59e3ffc15472b9a1 inherit pub_methods_class_s_p_h_1_1_base_diffusion"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_diffusion.html#ad0641c7cb654e35b59e3ffc15472b9a1">initializeLocalDiffusionProperties</a> (<a class="el" href="class_s_p_h_1_1_base_particles.html">BaseParticles</a> *base_particles)</td></tr>
<tr class="separator:ad0641c7cb654e35b59e3ffc15472b9a1 inherit pub_methods_class_s_p_h_1_1_base_diffusion"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d54baaebbd670cd125cfc2874a2b6ff inherit pub_methods_class_s_p_h_1_1_base_diffusion"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_diffusion.html#a4d54baaebbd670cd125cfc2874a2b6ff">setupLocalDiffusionProperties</a> (StdVec&lt; Vecd &gt; &amp;material_fiber)</td></tr>
<tr class="separator:a4d54baaebbd670cd125cfc2874a2b6ff inherit pub_methods_class_s_p_h_1_1_base_diffusion"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab1406312fbceea5607a7edd01453920f"><td class="memItemLeft" align="right" valign="top"><a id="ab1406312fbceea5607a7edd01453920f"></a>
Real&#160;</td><td class="memItemRight" valign="bottom"><b>diff_cf_</b></td></tr>
<tr class="separator:ab1406312fbceea5607a7edd01453920f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_attribs_class_s_p_h_1_1_base_diffusion"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_s_p_h_1_1_base_diffusion')"><img src="closed.png" alt="-"/>&#160;Public Attributes inherited from <a class="el" href="class_s_p_h_1_1_base_diffusion.html">SPH::BaseDiffusion</a></td></tr>
<tr class="memitem:a1cf2a7e873e1bf1c0666793b5ebff900 inherit pub_attribs_class_s_p_h_1_1_base_diffusion"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_diffusion.html#a1cf2a7e873e1bf1c0666793b5ebff900">diffusion_species_index_</a></td></tr>
<tr class="separator:a1cf2a7e873e1bf1c0666793b5ebff900 inherit pub_attribs_class_s_p_h_1_1_base_diffusion"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b83eb4cf023bf6fc5249f51b856494b inherit pub_attribs_class_s_p_h_1_1_base_diffusion"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsize__t.html">size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_s_p_h_1_1_base_diffusion.html#a1b83eb4cf023bf6fc5249f51b856494b">gradient_species_index_</a></td></tr>
<tr class="separator:a1b83eb4cf023bf6fc5249f51b856494b inherit pub_attribs_class_s_p_h_1_1_base_diffusion"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>isotropic diffusion property. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a747fa5685c40065bf66e758301ffe5de"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a747fa5685c40065bf66e758301ffe5de">&#9670;&nbsp;</a></span>IsotropicDiffusion()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SPH::IsotropicDiffusion::IsotropicDiffusion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>diffusion_species_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>gradient_species_index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Real&#160;</td>
          <td class="paramname"><em>diff_cf</em> = <code>1.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="aac18dd1f017b84629c0f283f91aeaa3d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac18dd1f017b84629c0f283f91aeaa3d">&#9670;&nbsp;</a></span>getInterParticleDiffusionCoff()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Real SPH::IsotropicDiffusion::getInterParticleDiffusionCoff </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>particle_i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classsize__t.html">size_t</a>&#160;</td>
          <td class="paramname"><em>particle_j</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Vecd &amp;&#160;</td>
          <td class="paramname"><em>direction_from_j_to_i</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get diffusion coefficient along the interacting particle direction. </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_diffusion.html#a82bb7f61e58ea78a2b6d31dff7c714bf">SPH::BaseDiffusion</a>.</p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_local_directional_diffusion.html#a3d7732c37df4d03daccbfa489d856998">SPH::LocalDirectionalDiffusion</a>, and <a class="el" href="class_s_p_h_1_1_directional_diffusion.html#a9cddff8508ce415c43e169d522e3e1d8">SPH::DirectionalDiffusion</a>.</p>

</div>
</div>
<a id="a8778717ace62181005a763fed4ce3f8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8778717ace62181005a763fed4ce3f8c">&#9670;&nbsp;</a></span>getReferenceDiffusivity()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Real SPH::IsotropicDiffusion::getReferenceDiffusivity </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Get the reference diffusivity. </p>

<p>Implements <a class="el" href="class_s_p_h_1_1_base_diffusion.html#a7681d738327b30fe796bc8bce8d7f2cd">SPH::BaseDiffusion</a>.</p>

<p>Reimplemented in <a class="el" href="class_s_p_h_1_1_directional_diffusion.html#a105351f84960ad51e5d47cf3a1ddb2e4">SPH::DirectionalDiffusion</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>SPHINXsys/src/shared/materials/<a class="el" href="diffusion__reaction_8h_source.html">diffusion_reaction.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
